<template>
  <div id="app">
    <!-- 顶部header -->
    <my-header></my-header>
    <router-view/>
    <!-- 底部footer -->
    <my-footer></my-footer>
  </div>
</template>

<script>
import myHeader from './components/header'
import myFooter from './components/footer'
export default {
  name: 'App',
  components:{
    myHeader,
    myFooter
  }
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}
</style>

